package com.project.petLossSystem.vo.petPost;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 用于帖子显示
 */
public class PetPostDetailVO {
    private Long postId;
    private Long userId;
    private String petCategoryName;
    private String postTypeName;
    private String postTitle;
    private String mainImageUrl;
    private String otherImageUrls;
    private String addressCategoryName;
    private String textContent;
    private Long views;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPetCategoryName() {
        return petCategoryName;
    }

    public void setPetCategoryName(String petCategoryName) {
        this.petCategoryName = petCategoryName;
    }

    public String getPostTypeName() {
        return postTypeName;
    }

    public void setPostTypeName(String postTypeName) {
        this.postTypeName = postTypeName;
    }

    public String getPostTitle() {
        return postTitle;
    }

    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    public String getMainImageUrl() {
        return mainImageUrl;
    }

    public void setMainImageUrl(String mainImageUrl) {
        this.mainImageUrl = mainImageUrl;
    }

    public String getOtherImageUrls() {
        return otherImageUrls;
    }

    public void setOtherImageUrls(String otherImageUrls) {
        this.otherImageUrls = otherImageUrls;
    }

    public String getAddressCategoryName() {
        return addressCategoryName;
    }

    public void setAddressCategoryName(String addressCategoryName) {
        this.addressCategoryName = addressCategoryName;
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public Long getViews() {
        return views;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
